<template>
	<view class="main">
		<u-navbar :is-back="true" title="新建活动" :background="background" back-icon-color="#000000" title-color="#000"
			title-bold="true">
		</u-navbar>
		<view class="all">
			
			<view class="content">
				<view class="shop">
					<image src="../../../static/images/ewm.jpg" mode=""></image>
					<view class="shop_r">
						<view class="shop_tit">
							儿童花朵泡沫洗手液300ml温和清香按压 瓶家庭用学生慕斯泡沫植物
						</view>
						<view class="status">
							在售中
						</view>
						<view class="money">
							¥20.90-54.90
						</view>
					</view>
				</view>
			
			</view>
			<view class="type">
				<view class="tit">
					规格
				</view>
				<view class="selects">
					<text>300ML</text>
					<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
			<view class="type">
				<view class="tit">
					规格价格
				</view>
				<view class="money">
					<text>¥20.90</text>
				</view>
			</view>
			<view class="detailes">
				<view class="type">
					<view class="tit">
						活动价格
					</view>
					<view class="center">
						<text>¥10.90</text>
					</view>
				</view>
				<view class="type">
					<view class="tit">
						活动数量
					</view>
					<view class="nums">
			
						<view class="pad">
							<u-icon name="minus"></u-icon>
						</view>
						<view class="pad bord">
							100
						</view>
						<view class="pad">
							<u-icon name="plus"></u-icon>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="type" style="padding: 23rpx 40rpx;">
			<view class="tit">
				活动时间
			</view>
			<view class="alltime">
				<view class="times">
					<text>2017-08-08</text>
					<u-icon name="arrow-right"></u-icon>
				</view>
				<text>至</text>
				<view class="times">
					<text>2017-08-08</text>
					<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
		</view>
	<view class="confirm">
		发布活动
	</view>
	</view>
</template>
<script>
	export default {
		data() {
			return {
				background: {
					backgroundColor: '#fff'
				},

			}
		},
		onLoad() {


		},
		mounted() {

		},
		onShow() {},
		methods: {
			router(path) {
				uni.navigateTo({
					url: path
				})
			},
		}
	}
</script>
<style lang="scss">
	page {
		font-family: PingFang SC;
		width: 750rpx;
		margin: 0 auto 180rpx auto;

		background-color: #f7f7f7;

		.main {
			width: 750rpx;
			margin: 0 auto;

			.all{
				.content {
					background-color: #fff;
					padding: 25rpx 25rpx 0 25rpx;
				
					.shop {
						padding-bottom: 40rpx;
						display: flex;
				
						image {
							width: 180rpx;
							height: 180rpx;
						}
				
						.shop_r {
							padding-left: 26rpx;
				
							.shop_tit {
								font-size: 28rpx;
								font-weight: 400;
								color: #000000;
							}
						}
				
						.status {
							padding: 32rpx 0 17rpx 0;
							font-size: 24rpx;
							font-weight: 400;
							color: #FF0707;
						}
				
						.money {
							font-size: 24rpx;
							font-weight: 400;
							color: #010101;
						}
					}
				}
				
				.detailes {
					margin: 11rpx 0;
				
					.nums {
						display: flex;
						border: 1px solid #E2E2E2;
						border-radius: 5px 0px 0px 5px;
				
						.pad {
							padding: 20rpx;
							text-align: center;
						}
				
						.bord {
							border-left: 1px solid #E2E2E2;
							color: #FE0000;
							border-right: 1px solid #E2E2E2;
						}
					}
				
					.type {
						margin: 0;
				
						.center {
							padding-right: 30rpx;
							font-size: 28rpx;
							font-weight: 400;
							color: #FF0000;
						}
					}
				
				}
			}
			
			
		.type {
					display: flex;
					align-items: center;
					justify-content: space-between;
					padding: 41rpx 19rpx;
					margin-top: 4rpx;
					background-color: #fff;
				
				
					.money {
						font-size: 28rpx;
						font-weight: 400;
						text-decoration: line-through;
						color: #000000;
						padding-right: 30rpx;
					}
				
					.selects {
						font-size: 28rpx;
						font-weight: 400;
						color: #000000;
						display: flex;
					}
				
					.alltime {
						text {
							padding: 0 11rpx;
						}
				
						display: flex;
						align-items: center;
				
						.times {
							width: 220rpx;
				
							padding: 15rpx 11rpx;
							background: #FFFFFF;
							border: 2rpx solid #808080;
							border-radius: 22rpx;
							display: flex;
							align-items: center;
							justify-content: space-between;
				
							font-size: 22rpx;
							font-family: PingFang SC;
							font-weight: 400;
							color: #808080;
						}
					}
				
					.tit {
						font-size: 28rpx;
						font-weight: 400;
						color: #808080;
					}
				
					input {
						width: 60%;
						text-align: right;
					}
				
				
				}
			
			.confirm {
				width: 690rpx;
				background-color: #FE4E00;
				border-radius: 49px;
				position: absolute;
				bottom: 30rpx;
				left: 30rpx;
				text-align: center;
				padding: 34rpx 0;
				font-size: 32rpx;
				font-weight: 400;
				color: #FFFFFF;
			}
		}
	}
</style>
